package com.example.recordingpen_datacollection.service.impl;

import org.springframework.scheduling.annotation.Async;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Service;

@Service
public class AsyncService {
    @Async("threadPoolTaskExecutor")
    public void executeAsyncTask() {
        // 异步执行的任务
        System.out.println(12);
    }
}